package com.example.SpringBootMybatis.mapper;

import com.example.SpringBootMybatis.entity.Gene;
import com.example.SpringBootMybatis.entity.Params;
import com.example.SpringBootMybatis.entity.GeneScore;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface GeneMapper {
    public List<Gene> findBySearch(@Param("params") Params params);

    @Select("select * from connections")
    public List<GeneScore> findAll(@Param("params") Params params);
}

